attachInfo

open fun attachInfo(@NonNull context: @NonNull Context, @NonNull info: @NonNull ProviderInfo)(source)

After the FileProvider is instantiated, this method is called to provide the system with information about the provider.

Parameters

context

A Context for the current component.

info

A ProviderInfo for the new provider.